﻿using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Web;
using WebConversion.Module;

namespace WebConversion.Mvc.Service
{
    [ServiceContract]
    public interface IDataService
    {
        [OperationContract]
        [WebGet(UriTemplate = "/Category/All", ResponseFormat = WebMessageFormat.Json)]
        List<Category> GetCategories();
    }
}
